﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using System.Data.SqlClient;

namespace DAL
{
    public class PhanloaiInfo
    {
        public string Ma_Phan_loai { get; set; }

        public string Ten_Phan_loai { get; set; }

        /*#region[Phanloai IDataReader]
        public PhanloaiInfo PhanloaiIDatareader(IDataReader dr)
        {
            DAL.PhanloaiInfo obj = new DAL.PhanloaiInfo();
            obj.MaPhanloai = (dr["Ma_Phan_loai"] is DBNull) ? string.Empty : dr["Ma_Phan_loai"].ToString();
            obj.TenPhanloai=(dr["Ten_Phan_loai"] is DBNull)? string.Empty:dr["Ten_Phan_loai"].ToString();
            return obj;
        }
        #endregion*/
    }
}